package com.ruoyi.user.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户对象 t_user
 *
 * @author tanfp
 * @date 2021-01-03
 */
@Data
public class User extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 昵称
     */
    @Excel(name = "昵称")
    private String nickName;

    /**
     * 密码
     */
    private String password;

    /**
     * 手机号
     */
    @Excel(name = "手机号")
    private String phone;

    /**
     * 头像
     */
    @Excel(name = "头像")
    private String avatar;

    /**
     * 性别
     */
    @Excel(name = "性别")
    private Integer gender;

    /**
     * 0冻结 1.正常
     */
    @Excel(name = "0冻结 1.正常")
    private Integer userStatus;

    /**
     * 1.普通用户
     */
    private Integer userType;

    /**
     * 微信支付所需要
     */
    private String openId;

    /**
     * 小程序唯一标识
     */
    private String unionId;

    /**
     * 0未删除 1已删除
     */
    @Excel(name = "0未删除 1已删除")
    private Integer delStatus;

}
